<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in</name>
<id>-1</id>
<cardCount>1</cardCount>
<cardID>2837</cardID>
<listID>3518</listID>
<cantModify><true /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>224</width>
<height>64</height>
</cardSize>
<script>on openStackglobal vPfAput 5 into vPfAend openStackfunction binary decimalif decimal is empty then exit binaryput"128,64,32,16,8,4,2,1" into binSetrepeat with i=1 to 8if (decimal/(item i of binSet))<1then put "0" after convertedelseput "1" after convertedsubtract (item i of binSet) from decimalend ifend repeatreturn convertedend binaryfunction binToChar binaryif binary is empty then exit binToCharreturn numToChar(decimal(binary))end binToCharfunction decimal binaryif binary is empty then exit decimalput "128,64,32,16,8,4,2,1" into binSetput 0 into convertedrepeat with i=1 to 8if char i of binary is 1 then add (item i of binSet) to convertedend repeatreturn convertedend decimal</script>